#page_box_wide
  %h1.page_title
    = "#{link_to "Home", "/"} > #{link_to "Administrate", "/admins"} > #{link_to "Posts", "/admins/posts"} > Edit Post"
  .menu
    = render :partial => "menu"
  %br{:style => "clear:both;"}
  = error_messages_for(:post, :header_message => "Could not save the post", :message => nil)

  - form_for(:post, :url => {:action => "update_post", :id => @post.id}, :html => { :multipart => true }) do |f|
  
    = render :partial => "post_form", :locals => {:f => f}

    .form_row
      %label
      = f.submit("Save Post", :class => "submit")